function areaCircularSegment


% A = (1/2) * r^2 * (x - sin(x)) % radians

% choose angle (rad)
x = pi / 4;

% choose circle radius (um)
r = 100;

% area of circle
A_circle = pi * r^2;
A_circle = round(A_circle)

% area of section
A_section = r^2 / 2;
A_section = round(A_section)

% area of segment
A_segment = (1/2) * r^2 * (x - sin(x));
A_segment = round(A_segment)

